package com.imdroid.udp.push.objects;

import com.imdroid.modal.Team;
import com.imdroid.udp.FileTypes;

public class UTeamExit extends Pushable{

	private Team team;
	
	private int userId;
	
	public UTeamExit(Team team, int userId){
		this.team = team;
		this.userId = userId;
	}
	
	@Override
	protected byte getHeader() {
		return FileTypes.TEAM_EXIT;
	}

	@Override
	protected String getBody() {
		return team.getTeamId() + ";" + userId;
	}

}
